package com.baibei.ebec.sdk;

import com.baibei.model.DeliveryQueryInfo;
import com.baibei.model.MessageInfo;
import com.baibei.model.OrderInfo;
import com.baibei.model.PaymentRecordInfo;
import com.baibei.model.SumClosedOrderInfo;

import java.util.List;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * 订单接口
 * 账单：交易记录
 * Created by shenminjie on 2017/8/9.
 * mail:shenminjie@100bei.com
 */

public interface IMessageApi {

    /**
     * 获取消息列表
     *
     * @param currentPage currentPage
     * @param pageSize    pageSize
     * @return
     */
    @POST(ApiConstant.API_BILL_TRADE)
    @FormUrlEncoded
    Observable<List<MessageInfo>> getMessageList(@Field("page") int page);

}
